﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RBS.Common.Api.Maps
{
    public static class Baidu
    {
        private const string Ak = "9hKFxXfINYjmgLFnKg4Mty0r"; 
        public static string  GetLocation()
        {
            var url =
                "http://api.map.baidu.com/location/ip?ak={0}&ip={1}&coor=bd09ll";
            url = string.Format(url, Ak, "111.23.251.6"); 
           return Request.GetResponse(url);
        } 
    }
}
